home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _9EE3669483CF4F6F8FD0AE2ABD8DCF13 < prev    next >
Encoding:
Text File  |  2006-08-04  |  910 b   |  31 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'',
  6.         'Copyright': u'',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro X',
  9.         'Host Version': u'10.00 Alpha 20050620.13'
  10.         }
  11.  
  12. def Preset_DisplacementMap():
  13.     return {
  14.         'Smoothness': 30, 
  15.         'EdgeMode': App.Constants.EdgeMode.Repeat, 
  16.         'DisplacementMethod': App.Constants.DisplacementMethod.Surface3D, 
  17.         'DisplacementLayout': App.Constants.DisplacementLayout.Tile, 
  18.         'DisplacementMapType': App.Constants.DisplacementMapType.Image, 
  19.         'Scale': 10, 
  20.         'Rotation': 0, 
  21.         'FileName': u'0', 
  22.         'Tile scale': 100, 
  23.         'BackgroundColor': (0,0,0), 
  24.         'Category': u''
  25.         }
  26.  
  27. def Do(Environment):
  28.     # DisplacementMap_LOCALIZED
  29.     App.Do( Environment, 'DisplacementMap',         Preset_DisplacementMap())
  30.  
  31.